package com.application.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Question {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private String openid;
    private String tel;
    private String text;
    @Version
    private Integer version;
    @TableLogic
    private Integer deleted;


}
